package define

type BaseTime struct {
	CreateTime string `json:"create_time"`
	UpdateTime string `json:"update_time"`
}

var MenuFileName = "menu.conf"

type Menu struct {
	Id       int64   `json:"id"`
	Identify string  `json:"identify"`
	Name     string  `json:"name"`
	Path     string  `json:"path"`
	Icon     string  `json:"icon"`
	Childs   []*Menu `json:"childs"`
	Sort     int64   `json:"sort"`
	BaseTime
}

type MenuList struct {
	List []*Menu `json:"list"`
}

var ConfigName = "time-line.conf"

type TimeLine struct {
	Identify   string `json:"identify"`
	Name       string `json:"name"`
	Content    string `json:"content"`
	TimeString string `json:"time_string"`
	BaseTime
}

type TimeLineList struct {
	List []*TimeLine `json:"list"`
}



